package com.yootoo.extpmml.Entites;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Map;

public abstract class BaseEvaluator<T> {
    protected static final Logger LOGGER = LoggerFactory.getLogger(BaseEvaluator.class);
    private T m;
    private Object innerEvaluator;

    public BaseEvaluator(T m, Object innerEvaluator) {
        this.m = m;
        this.innerEvaluator = innerEvaluator;
    }

    public BaseEvaluator() {
    }


    abstract Map<String,Object> execute(Map<String,Object> inputVars, String[] featureNames) throws Exception;
}
